Hybrid laser diode drivers

ABSTRACT

A hybrid LDD includes a read channel to selectively output a read current, a plurality of write channels, each to selectively output a different write current, and an oscillator channel to selectively output an oscillator current. Additionally, the hybrid LDD includes programmable LDD controller that receives the plurality of enable signals from the external controller, and based on the enable signals, controls timing of the currents output by at least the write channels. The programmable LDD controller can also control timing of the currents output by the read and oscillator channels, based on the enable signals. Further and alternative embodiments are also provided.

PRIORITY CLAIM

This application claims priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application No. 61/097,511, filed Sep. 16, 2008. This application also claims priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application No. 61/060,086, filed Jun. 9, 2008. Each of the above applications is incorporated herein by reference.

This application is a continuation-in-part (CIP) of U.S. patent application Ser. No. 11/749,636, filed May 16, 2007, and entitled HYBRID LASER DIODE DRIVERS THAT INCLUDE A DECODER. This application is also a CIP of U.S. patent application Ser. No. 11/749,703, filed May 16, 2007, and entitled HYBRID LASER DIODE DRIVERS THAT INCLUDE A STATE MACHINE. Each of the above applications is incorporated herein by reference.

BACKGROUND

In the field of products concerning the optical disk technologies such as CD, DVD and the like, there is a tendency to increase both the storage capacity, and the speed of data transfer. Additionally, factors such as media type, writing speed, disc format and drive optics necessitate particular write strategies. In order to be competitive and capture market share, there is a tendency to increase the number of features (e.g., formats) supported by a single laser diode driver (LDD), to thereby enable a single LDD to support both CD and DVD technologies, as well as new technologies such as Blu-ray Disk (BD), but not limited thereto.

Conventional LDDs suffer from the need for more and more pins as the number of features supported by LDDs increase. For example, conventional LDDs require an analog line and/or a digital line (or pair) for every output current level supported, which causes a high pin count as the number of output current levels supported increases. Further, each line is subject to noise pick-up or timing inaccuracy, leading to poor fidelity waveforms. Additionally, because of the remote control of output drive for both the write current and the oscillator timing, conventional LDDs also suffer from timing errors.

To solve the problems of conventional laser drivers, manufacturers began to incorporate write strategy generators (WSG) into LDDs. However, while WSG LDDs solve the above mentioned problems of conventional laser drivers, WSG LDDs include large amounts of complex digital circuits. Such circuits are costly. Additionally, such circuits increase the power consumption and heat output of the LDD. Further, many customers do not want to change the complex controller chip from a conventional type to a WSG type. If they do so, they often have difficulty learning to use and support the WSG that is within a WSG LDD.

SUMMARY

Embodiments of the present invention are related to hybrid laser diode drivers (LDDs) that drive a laser diode in response to receiving enable signals from an external controller. In specific embodiments, the hybrid LDDs are configured to be located on a same optical pickup unit (OPU) as a laser diode, where the OPU is connected by a flex cable to the controller, and where the controller is on a main board.

In accordance with an embodiment, a hybrid LDD includes a read channel to selectively output a read current, a plurality of write channels, each to selectively output a different write current, and an oscillator channel to selectively output an oscillator current. Additionally, the hybrid LDD includes a programmable LDD controller that receives the plurality of enable signals from the external controller, and based on the enable signals, controls timing of the currents output by at least the write channels. The programmable LDD controller can also control timing of the currents output by the read and oscillator channels, based on the enable signals.

In accordance with an embodiment, the programmable LDD controller includes a decoder that receives the plurality of enable signals and in response thereto activates one of a plurality of decoder output lines. Additionally, the programmable LDD controller can include a plurality of output controllers, each of which is programmable to produce an output in response to one or more of the decoder output lines being active. The plurality of output controllers can include at least a write output controller and an oscillator controller.

In accordance with an embodiment, the enable signals received by the LDD controller from the external controller are Gray coded such that only one of the enable signals changes at a time. Additionally, in accordance with an embodiment, none of the enable signals changes its state twice without another one of the enable signals changing its state in-between. The LDD controller, based on the enable signals, controls the timing of the currents output by the read, write and oscillator channels.

This summary is not intended to be a complete description of the embodiments of the present invention. Further and alternative embodiments, and the features, aspects, and advantages of the present invention will become more apparent from the detailed description set forth below, the drawings and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high level block diagram illustrating an exemplary conventional laser diode driver (LDD).

FIG. 2 is an exemplary timing diagram for the conventional LDD of FIG. 1.

FIG. 3 is a high level block diagram illustrating an exemplary write strategy generator (WSG) LDD.

FIG. 4 is an exemplary timing diagram for the WSG LDD of FIG. 3.

FIG. 5A is a high level block diagram of an exemplary hybrid LDD.

FIG. 5B is a high level block diagram of a hybrid LDD, according to another embodiment of the present invention.

FIG. 5C is a high level block diagram of a hybrid LDD, according to still another embodiment of the present invention.

FIG. 5D shows some additional details of the LDD controller of FIG. 5C, according to an embodiment of the present invention.

FIG. 5E illustrates how a serial control register can act with decoded signals to make a programmable selection of a device activity, according to an embodiment of the present invention.

FIG. 6A is a high level block diagram of another hybrid LDD, referred to as a WSG hybrid LDD, according to an embodiment of the present invention.

FIG. 6B is a high level block diagram of an alternative WSG hybrid LDD, according to an embodiment of the present invention.

FIG. 7 is a high level block diagram of a further hybrid LDD, referred to as a switched gate hybrid LDD, according to another embodiment of the present invention.

FIG. 8 illustrates various exemplary I_(OUT) signals that can be generated for an arbitrary mark-space signal that is used for writing to a type R media.

FIG. 9 illustrates various exemplary I_(OUT) signals that can be generated for an arbitrary mark-space signal that is used for writing to a type RW media.

FIG. 10A illustrates an exemplary two bit Gray code transition diagram.

FIG. 10B illustrates an exemplary three bit Gray code transition diagram.

FIG. 10C illustrates an exemplary four bit Gray code transition diagram.

FIG. 11A illustrates an exemplary I_(OUT) signal including four different states.

FIG. 11B is a Gray code transition diagram that shows how one bit can be changed at a time to transition from any of the I_(OUT) levels shown in FIG. 11A to a next level.

FIG. 12A illustrates an exemplary I_(OUT) signal including seven different states.

FIG. 12B is a Gray code transition diagram that shows how one bit can be changed at a time to transition from any of the I_(OUT) levels shown in FIG. 12A to a next level.

FIG. 13A illustrates an exemplary I_(OUT) signal including nine different levels.

FIG. 13B is a Gray code transition diagram that shows how one bit can be changed at a time to transition from any of the I_(OUT) levels shown in FIG. 13A and a next level, assuming four enable lines, besides the chip enable (ENA) line, are used.

FIG. 13C is a Gray code transition diagram that is used to describe how transitions in the I_(OUT) signal of FIG. 13A can be accomplished using only three enable lines, in addition to the chip enable (ENA) line and an additional write enable line.

FIG. 14A illustrates an exemplary I_(OUT) signal including ten different states.

FIG. 14B is a Gray code transition diagram that shows how one bit can be changed at a time to transition from any of the I_(OUT) levels shown in FIG. 14A to a next level.

FIG. 15A is a timing diagram showing exemplary Gray coded write enable (WEN) signals that include what are referred to as U-turns.

FIG. 15B is a timing diagram showing exemplary Gray coded write enable (WEN) signals that avoid U-turns, in accordance with specific embodiments of the present invention.

FIG. 15C are Gray code transition diagrams for the 5 T and 7 T marks shown in FIG. 15A, which illustrate the occurrences of the U-turns.

FIG. 15D are Gray code transition diagrams for the 5 T and 7 T marks shown in FIG. 15B, and which illustrate the avoidance of U-turns.

FIG. 16A is a diagram of serial configurable read enable logic of a decoder, according to an embodiment of the present invention.

FIG. 16B is a diagram of serial configurable write level enable logic of a decoder, according to an embodiment of the present invention.

FIG. 17 is a diagram of serial configurable oscillator level enable logic of a decoder, according to an embodiment of the present invention.

FIG. 18A illustrates an exemplary diagram of a typical state machine. FIG. 18B illustrates an exemplary state diagram for an arbitrary state machine.

FIG. 19A illustrates an exemplary I_(OUT) signal including ten different states. FIG. 19B is a corresponding state diagram for the write strategy producing the I_(OUT) signal of FIG. 19A.

FIG. 19C illustrates a state machine wherein the output lines also serve as the state lines for the write strategy of FIG. 19A.

FIG. 20 illustrates an exemplary the state diagram for the state machine of FIG. 19C for implementation of the write strategy of FIG. 19A.

FIG. 21 is an exemplary Gray code transition diagram that is useful for describing how the state diagram of FIG. 20 functions.

FIG. 22 illustrates an exemplary state diagram which is used to illustrate how two bits can be used to transition among states of the diagram, in accordance with an embodiment of the present invention.

FIG. 23 illustrates an exemplary state diagram which is used to illustrate how three enable lines can be used to transition among states of the diagram, in accordance with an embodiment of the present invention.

FIG. 24 illustrates exemplary details of a standard state machine, with a decoder added at the output, in accordance with embodiments of the present invention.

FIG. 25 illustrates a state machine with an embedded decoder, in accordance with an embodiment of the present invention.

FIG. 26 illustrates a state machine with an embedded decoder and state memory, in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION

In the FIGS., like reference numbers and characters identify the same or similar elements throughout. However, this does not mean that elements numbered the same in different figures need be identical. Additionally, the left most digit(s) of a reference number indicates the FIG. where an element was first discussed.

FIG. 1 is a high level diagram showing an exemplary conventional laser diode driver (LDD) 110 of a data storage device in communications with a drive controller 102 (e.g., a host), across a flex cable 104. The data storage device can be, for example, an optical storage device that includes an optical disk media upon which user data can be stored. The LDD 110 drives a laser diode 108 in order to read data from and write data to the optical disk media. The LDD 110 is located on an optical pickup unit (OPU), and the controller 102 is located on a main circuit board, with the flex cable 104 allowing for communications there-between.

In the exemplary embodiment shown, the LDD 110 is shown as including a read channel, four write channels and an oscillator channel. The LDD is also shown as including a bias circuit 112, which receives a chip enable (ENA) signal from the controller 102. When the LDD 110 is enabled, via the ENA signal, the bias circuit generates bias voltages and currents that are used to bias the analog circuitry (e.g., amplifiers, drivers, etc.) of the LDD 110. When the LDD 110 is not enabled via the ENA signal the LDD will not drive the laser diode 108. The ENA signal may in addition directly logically disable the outputs.

The read channel includes an amplifier 121, an electronic switch S1 and a read driver 131. The read channel receives a level input (INR, also referred to as IN1) signal and a read enable (REN) signal from the controller 102. The INR signal, which is an analog current or voltage signal generated by the controller 102, is used to specify the amplitude of the signal output by the read channel when the read channel is enabled. The REN signal specifies when the read channel is enabled, and thus may be referred to as a timing or enable signal. The amplifier 121 performs pre-amplification of the IN1 signal. The read driver 131, when the read channel is enabled, performs further amplification of the signal output by the amplifier 121. The switch S1, which is controlled by the REN signal, is used to enable or disable the read channel. The switch S1 is shown as being outside the read driver 131, but can be within the read driver 131.

Four write channels are shown, although there can be more or less write channels. Each of the write channels is shown as including an amplifier, an electronic switch and a write driver. For example, one of the write channels, which receives the IN2 signal and the write enable (WEN2) signal is shown as including an amplifier 122, an electric switch S2 and a write driver 132. To enable fast switching it is preferred that the switch S2 is within the write driver 132. The IN2 signal, which is an analog current or voltage signal generated by the controller 102, is used to specify the amplitude of the signal output by the write channel when the write channel is enabled. The WEN2 signal is a timing signal that specifies when the write channel is enabled. The amplifier 122 performs pre-amplification of the IN2 signal. The write driver 132, when the write channel is enabled, performs further amplification of the signal output by the amplifier 122. The switch S2, which is controlled by the WEN2 signal, is used to enable or disable the write channel. The remaining write channels are similar, and thus need not be described in further detail. Since the write enable signals are used for controlling timing, such signals may also be referred to as timing or enable signals.

The oscillator channel is shown as including an amplifier 151, an amplifier 152, an oscillator 153, a switch S6 and an oscillator driver 154. Through use of the resistor RAMP (external to the LDD 110 but on the OPU), the amplifier 151 provides a signal to the oscillator driver 154, which is used to specify the amplitude of the signal that is output by the oscillator driver 154. Through use of the resistor RFREQ (external to the LDD 110 but on the OPU), the amplifier 152 provides a signal to the oscillator 153, which is used to specify the frequency of the signal that is output by the oscillator 153. The oscillating output of the oscillator 153 controls the switch S6 of the oscillator driver 154, to thereby output an oscillating signal whose amplitude and frequency is specified using the resistors RAMP and RFREQ. The oscillator 153 is enabled by the controller 102 via an oscillator enable (OSCEN) signal, which is provided across the flex cable 104. Thus, the oscillator channel only provides an oscillating output when the oscillator 153 is enabled.

Only one laser diode (i.e., 108) is shown in FIG. 1. One or more further laser diode can be added, so that the convention LDD supports multiple (e.g., CD, DVD, BD) formats. In such a case there would be a selection network used to specify which laser diode to drive. The controller 102 would control the selection network via additional connections through the flex cable 104.

The ENA, INR-IN5, REN, WEN2-WEN5 and OSEN signals are all provided from the controller 102 to the LDD 110 across the flex cable 104. When more than one channel is enabled at once, the outputs of the multiple channels are added together to produce an output current I_(OUT) drive signal that drives the laser diode 108. A single channel may also be enabled at a time. The exemplary timing diagram shown in FIG. 2 illustrates how the various outputs of the drivers can be added, or individually used, to generate the I_(OUT) signal that drives the laser diode 108. At first glance, it might appear that there could be a useable output current I_(OUT) for every combination of REN, OSCEN, and WEN2-WEN5 signals. But that is not the case. The write strategies require very precise amplitudes and times to properly mark the media. Because of this, there are usually a very limited number of useable combinations of output current. When writing to the media the read current is always on, resulting in the read current being added to the (one or more) selected write channel's current, to thereby generate I_(OUT). When reading from the media the, oscillator is usually on, resulting in the output of the oscillator channel being added to the output of the read channel, to thereby generate I_(OUT). During writing, the oscillator may or may not be on, depending on the decision of the drive designer.

One possible way to use the write enables is to have a different output current determined when one and only one WEN is enabled. The problem with this approach is that the total size of all of the output drivers is then excessive, causing excess cost and slow response. In practice the various output levels are obtained by adding together the various write currents in only a few specific combinations (as opposed to using all possible combinations). This usually results in one output level per control pin, due to the precise current requirements of the write process. Because the write currents are necessarily summed together, there is a timing glitch issue that is most severe when the current switches between a low value to a high value. This occurs at the most critical time, which is at the beginning and end of the mark.

Referring now to FIG. 3, an exemplary write strategy generator (WSG) LDD 310 is shown as including a bias circuit 112, a reference circuit 314, a write strategy generator (WSG) 316, a serial interface 318, and various registers, digital-to-analog converters (DACs), oscillators, amplifiers and a driver, which are discussed below. A controller 102 communicates with the LDD 310 over a flex cable 104.

The bias circuit 112, when it receives a chip enable (ENA) signal from the controller 102, generates bias voltages and currents that are used to bias the analog circuitry of the LDD 310. The ENA signal also directly enables the outputs. The reference circuit 314, which receives an ISLOPE signal from the controller 112, and is connected to an RSET resistor on the OPU, generates various reference voltages and currents that are provided to the various DACs of the LDD 310.

The serial interface 318 receives from the controller 102 a serial enable (SEN) signal and a serial clock (SCLK) signal. Additionally, a bi-directional serial data input/output (SDIO) line allows the controller 102 to write data to and read data from registers within the LDD 310 via SER bus 319. For example, write strategy updates can be provided using the SDIO, serial interface, and serial (SER) bus 319. The SER bus 319 includes a data bus portions (e.g. 8 bits wide) and an address bus portion (e.g., 7 bits wide).

The write strategy generator (WSG) 316, which includes digital circuitry, provides digital signals (e.g., a collection of various timing signals) to the WSG bus 317 that are used to implement an appropriate write strategy, which may depend, for example, on the media, CD, DVD or BD standards, and/or the speed being supported. The WSG 316 receives from the controller 102 a data clock (CLK) and a read write mode signal (RWB). For example, a LOW RWB signal can designate WRITE, and a HIGH RWB signal can designate READ, or vise versa. The WSG 316 also receives a data line labeled NRZ (Non-Return-to-Zero), which is used to specify the when a mark is being written on a disk. The WSG 316 is also shown as receiving a land/groove bar (LBG) signal, which is used for DVD RAM type media. In this media the marks are made in both the land and groove portions of the media. The write current requirements are different when writing to the land or groove.

The read channel of the LDD 310 is shown as including a read DAC 322, an amplifier 326 and a read driver 328. The read DAC 322 outputs an analog signal having a level specified by the digital data level specified in a read register 321, which can be updated by the controller 102 via the serial interface 318 and SER bus 319. The controller 102 can also provide an analog INR signal that is added to the output of the read DAC by summer 324. The output of the read DAC 322 (with or without INR added thereto) is provided to the amplifier 326, and the output of the amplifier 326 is provided to the read driver 328. The WSG 316 can control when the read channel produces an output by controlling a switch S1 via one or more line of the WSG bus 317. For example, a serial read enable signal can cause the WSG 316 to open or close switch S1.

The write channel of the LDD 310 is shown as including a write DAC 332 that receives a digital input from write registers 338. The WSG 316, via the WSG bus 317, selects which register of the write registers 338 will provide the digital input to the write DAC 332, to thereby control the amplitude of the signal output by the write channel. A PMAX DAC 336 converts a digital input received from a PMAX register to an analog output (referred to simply as PMAX), which is applied to a reference input of the write DAC 332. The write DAC 332 can be a multiplier type DAC, with PMAX specifying a multiplication factor. More specifically, the output of the write DAC 332 can be proportional to a multi-bit digital write value (applied by one of the write registers 338) multiplied by the reference input (i.e., PMAX). For example, the output of the write DAC 332 may equal the product of the multi-bit digital input value (from one of registers 338), multiplied by PMAX, further multiplied by a reference set by RSET and ISLOPE. The contents of the write registers 338 and the PMAX register 334 can be updated by the controller 102 via the serial interface 318 and SER bus 319. In certain embodiments, the DAC 332 provides sufficient current to drive the laser diode 108. In other embodiments, a driver can be added at the output DAC 332.

An oscillator channel, also known as the high frequency modulation (HFM) channel, is shown as including an oscillator (OSC) DAC 372, which can output various levels in an oscillating manner. In the embodiment shown, the input to the OSC DAC 372 is the output of a plurality of parallel AND gates 365. Each AND gate 365 receives the output of oscillator 359 and an output of an oscillator amplitude selection circuit 360. An oscillator frequency DAC 352, a spread spectrum (SS) frequency DAC 354 and a SS amplitude DAC 356 all receive a digital input, respectively, from registers 351, 353 and 355. The controller, via the serial interface 318 and the SER bus 319, can update the contents of the registers 351, 353 and 355. The register 351 and oscillator frequency DAC 352 are used to specify the frequency of the oscillator 359. The register 353 and SS frequency DAC 354 are used to specify the frequency of an SS oscillator 357, and the register 355 and SS amplitude DAC 356 are used to specify an amplitude of the SS oscillator 357. The spread spectrum output of the SS oscillator 357 is added to the output of the oscillator frequency DAC 352 by summer 358, to thereby spread the harmonics generated by the oscillator channel. The oscillator amplitude circuit 360 consists of two registers 361, 362 and a selector 363. The WSG bus 317 includes one or two timing lines used to select one of these two registers via selector 363, according to the write strategy programming. The WSG bus 317 also has some timing lines to control the mode of the oscillator 359. The oscillator can be low, high, or oscillating due to the control from the WSG bus 317. Therefore, as instructed by the WSG 316, the oscillator 359 can be made to output zero, the value of OSC-LO 362 as a DC term, or the value of OSC-HI 361 as either a DC term or an oscillating term. In certain embodiments, the DAC 372 provides sufficient current to drive the laser diode 108. In other embodiments, a driver can be added at the output DAC 372.

The contents of control registers 340 can also be updated by the controller 102 via the serial interface 318 and SER bus 319. For instance, the control registers 340 may contain bits to enable the read, write, and oscillator channels. The control registers 340 may also contain control bits to select which of several lout pins is active. The control registers 340 may also have separate enable bits for a phase lock loop (PLL). The control registers 340 may also have various mode bits for various functions.

The exemplary timing diagram shown in FIG. 4 illustrates how the various output levels for I_(OUT) can be generated using the WSG LDD 310. As can be appreciated from FIG. 4, the WSG LDD 310 has the ability to send one of many digital values to the input of the write DAC 332. Although it is possible that the control lines to select the write registers 338 could have timing errors, they can be minimized because the entire timing problem is confined to one piece of silicon. In contrast, in the conventional LDD 110, the timing involves the controller 102, the flex cable 104, and the LDD 110, thereby increasing the variation in delays between the channels. Also, the WSG LDD 310 does not require an additional analog line and/or a digital line (or pair) for every output current level supported. Thus, the pin count for the WSG LDD 310 can be kept the same as the number of output current levels supported increases. Further, since most signals sent from the controller 102 to the WSG LDD 310 are digital, the signals are less susceptible to noise, leading to higher fidelity waveforms. Further, the WSG LDD 310 can more easily support high speeds, e.g., 16× DVD speeds, because the filtering effect of the flex on the control signals does not directly limit the timing fidelity. However, while the WSG LDD 310 solves many of the problems of the conventional LDD 110, the WSG LDD 310 include large amounts of complex digital circuits, which may add cost and test time to their production. Additionally, such circuits cause the power consumption and heat output of the WSG LDD 310 to be higher than that of the conventional LDD 110. Further, many OPU users/customers do not want to make a significant change from their conventional controller and LDD solutions. For the above reasons, hybrid type LDDs are provided herein.

An exemplary type of hybrid LDD 510A is shown in FIG. 5A. This hybrid LDD 510A accepts conventional read, write and oscillator inputs (INR, REN, WEN2-WEN5 and OSEN) from the controller 102, and includes a conventional read driver 131, conventional write drivers 132-135 and a conventional oscillator driver 154. However, the hybrid LDD 510A differs from the conventional LDD 110 because it includes a serial interface 318, a SER bus 319, a reference circuit 314, a register 321 and read DAC 322 for the read channel, and for the oscillator channel further registers (351, 353, 355), DACs (352, 354, 356) and an SS oscillator 357, which are typically included in a WSG LDD (e.g., see FIG. 3). Additionally, the hybrid LDD 510A includes a register (522, 523, 524 and 525) and a write DAC (532, 533, 534 and 535) for each write channel, none of which are provided in the conventional LDD 110. Also, the hybrid LDD 510A includes an amplitude register 560 and a DAC 561 for controlling the amplitude of the signal produced by the oscillator channel.

In the embodiment of FIG. 5A, to control the amplitude of the outputs produced by the read channel and the multiple write channels, the controller 102 can update the various amplitude registers (e.g., 321, 522-525 and 560) by sending such updates over the SDIO line to the serial interface 318, which communicates with the various registers via the SER bus 319. Accordingly, the controller 102 no longer needs to send analog input lines (e.g., INR-IN5), which are susceptible to noise, across the flex cable 104. Similarly, to control the amplitude and frequency of the signal produced by the oscillator channel, the controller 102 can update the various amplitude and frequency registers (e.g., 351-355 and 560) by sending such updates over the SDIO line. Thus, to adjust the amplitude and frequency of the oscillator channel, there is no need to place/adjust RAMP and RFREQ resistors on the OPU. The hybrid LDD 510A also includes spread spectrum capabilities within the LDD. It is possible that a conventional LDD could have these SS capabilities. However, in the conventional LDD the SS frequency and amplitude would be adjusted with resistors instead of DAC's. It is also possible that the read and write registers and DAC's are removed and replaced with the IN lines of a conventional LDD, and that the serial interface is only used to control the oscillator.

The hybrid LDD 510A differs from the WSG LDD 310 (see FIG. 3) in that the controller 102 still controls the timing of the read, write and oscillator channels using timing enable lines (e.g., REN, WEN2-WEN5 and OSCEN). In other words, the controller 102 can use similar timing to control the timing of the I_(OUT) signal of the hybrid LDD 510A as it used to control the timing of the I_(OUT) signal of the convention LDD 110. A comparison between the hybrid LDD 510A and the conventional LDD 110 also reveals that the hybrid LDD uses the enable lines in a similar manner, i.e., to control switches associated with the various read and write drivers 131-135. Further, a WSG is not implemented in the hybrid LDD 510A. This may reduce the cost, testing, heat output and complexity of the hybrid LDD 510A, as compared to the WSG 310. For the above reasons, an OPU user/customer may find the hybrid LDD 510A desirable, if that user/customer does not want to make significant changes to their conventional LDD solution, yet wants to reduce the pin count and/or number of analog lines sent over the flex cable 104.

A hybrid LDD 510B, according to an embodiment of the present invention, is shown in FIG. 5B. This hybrid LDD 510B accepts conventional read, write and oscillator inputs (INR, REN, WEN2-WEN5 and OSCEN) from the controller 102, and includes a conventional read driver 131, conventional write drivers 132-135 and a conventional oscillator driver 154, as was the case with the hybrid LDD 510A. However, rather than using these enable lines to control switches within the read, write and oscillator channels directly, the read and write enable lines (REN and WEN2-WEN5), and the OSCEN line are provided to a decoder 570. The decoder 570 outputs various timing signals on the decoder bus 572 to thereby control the various switches of the various read, write and oscillate channels. For example, the decoder 570 may control the switch S1 of the read channel based on the ENR line or serial signal, or based on a decoding of the WEN signals received from the controller 102. Similarly, the decoder 570, based on the WEN2-WEN5 lines, may control the switches S2-S5 of the write channels in a manner different than as in a conventional LDD. Further, the decoder 570 controls the switch S6 of the oscillator channel based on the OSCEN line or REN and WEN lines. As explained in additional detail below, in alternative embodiments a state machine can be used in place of the decoder.

A timing diagram for the hybrid LDDs 510A are essentially the same as the timing diagram of FIG. 2, which as described above is the timing diagram for the conventional LDD 110. This is because the same timing signals are used for the hybrid LDDs 510A as were used for the conventional LDD 110, with each write enable signal essentially controlling the timing of a separate write channel. Thus, while there are certain advantages of the hybrid LDDs 510A over the conventional LDD 110, the hybrid LDDs 510A may suffer from some of the same problems as the conventional LDD 110. For example, for the hybrid LDD 510A, the timing control is identical to the conventional LDD 110, and it will therefore have the same timing errors as the conventional LDD 110. However for the hybrid LDD 510B, the definition of how the WEN lines control the outputs can be changed, and thereby modify and potentially improve upon the timing of the conventional LDD 110. An advantage of the hybrid LDDs 510A and 510B over the conventional LDD 110 is that less analog signals are sent from the controller 102 across the flex cable 104 to the hybrid LDDs. More specifically, the hybrid LDDs 510A and 510B do not rely on analog write level (i.e., amplitude control) signals IN2-IN5 from the controller 102, nor do they need numerous pins and resistors to control the oscillator frequencies and amplitudes. Rather, amplitude levels for the various channels are controlled using registers that are populated and updated by the controller 102 using the SDIO line, the serial interface 318 and the SER bus 319. This reduction of analog signals sent over the flex cable 104 should improve signal fidelity, and reduce pin count.

The hybrid LDD 510B has many advantages over the hybrid LDD 510A. For example, with the hybrid LDD 510B, less wires or traces of the flex cable 104 may be used for accepting the same amount of WEN signals as compared to the hybrid LDD 510A. For example, to accept eight WEN signals, the hybrid LDD 510B may only require three WEN lines of the flex, where the hybrid LDD 510A would require eight. Additionally, with the hybrid LDD 510B, further write power levels can be added without adding further WEN signal lines to the flex, which is not the case for hybrid LDD 510A. Also, as just explained above, while the LDD 510A may produce the same timing errors as the conventional LDD 110, with the hybrid LDD 510B the definition of how the WEN lines control the outputs can be modified to avoid such errors.

A hybrid LDD 510C, according to a further embodiment of the present invention, is shown in FIG. 5C. Like the conventional LDD of FIG. 1, the hybrid LDD 510C receives write level input signals IN2, IN3 and IN4 (and optionally IN5), and can also receive a read level input signal INR. However, a difference between the hybrid LDD 510C and the conventional LDD 110, is that in the hybrid LDD 510C the write enable signals WEN2-WEN4 (and optionally the read enable signal REN, and optionally the oscillator enable signal OSCEN), generated by the external controller 102, are received by the internal LDD controller 580 rather than by the drivers (e.g., 132-134) of the write channels (and possibly the read and oscillator channels). Accordingly, the hybrid LDD 510C may be referred to as a conventional-hybrid LDD 510C, because it accepts conventional level input signals (also referred to as amplitude inputs) and conventional enable input signals (also referred to as timing inputs), yet allows for more flexibility through use of the internal LDD controller 580, as will be appreciated from the discussion below.

The convention LDD 110 of FIG. 1 is essentially limited to use with sum encoding, an example of which was described above with reference to the timing diagram of FIG. 2. In contrast, the conventional-hybrid LDD 510C, of an embodiment of the present invention, can accept Gray codes from the external controller 102, thereby allowing for much more write level options. As explained in detail below, such Gray codes can be used to avoid timing glitch problems that may occur if more than one of the enable timing inputs were to change state at the same time. Further, certain data rate reducing Gray codes, described below with reference to FIGS. 15A-15D, can be accepted by the conventional-hybrid LDD 510C. Additionally, because it includes the LDD controller 580, the conventional hybrid LDD 510C through use of (e.g., decoding of) the RWB and WEN signals, can control and modify additional features of the LDD, which were not possible with the conventional LDD 110. Depending on implementation, in FIGS. 5C and 5D, a write enable (WEN) or write enable bar (WEB) signal can be used in place of the RWB signal, so long as the WEN, WEB or RWB signal can be used to enable write mode.

As was the case on FIG. 1, the INR signal is an analog current or voltage signal, generated by the external controller 102, that is used to specify the amplitude of the signal output by the read channel when the read channel is enabled. The IN2-IN4 (and optionally IN5) signals are analog current or voltage signals, generated by the external controller 102, that are used to specify the amplitudes of the signals output by the various write channels when the write channels are enabled. The conventional LDD 110 of FIG. 1 generates its various write levels and timing by summing together various write currents, as was described with reference to FIG. 2, and which may be referred to as sum encoding. In contrast, the LDD controller 580 of the conventional-hybrid LDD 510C of FIG. 5C decodes enable signals received from the external controller 102, and based on the results of the decoding, and the contents of programmable registers, controls which write channels are enabled, and optionally whether the read channel and/or oscillator channel is enabled. In an alternative embodiment, the switch S1 of the read channel is controlled by the contents of a register. In other words, the read channel can be enabled by an output of the LDD controller 580, or by the contents of a register.

Another difference between the conventional LDD 110 of FIG. 1 and the conventional-hybrid LDD 510C of FIG. 5C is that the conventional-hybrid LDD 510C includes a serial interface 318. The serial interface 318 receives from the external controller 102 a serial enable (SEN) signal, a serial clock (SCLK) signal, and a bi-directional serial data input/output (SDIO) line. The SDIO line allows the external controller 102 to write data to and read data from registers within the LDD 510C via the serial (SER) bus 319. For example, control registers within or external to the LDD controller 580 can be written to and read from using the SDIO, serial interface 318, and serial bus 319. The serial bus 319 includes a data bus portion (e.g. 8 or 9 bits wide) and an address bus portion (e.g., 7 bits wide). The control registers 340 can be used to control which combination of enable lines (received from the external controller 102) will result in one or more write channel being enabled, will result in the read driver being enabled, will result in the oscillator driver being enabled, and the like. While the control registers 340 are shown in FIG. 5C as being separate from the LDD controller 580, it is also within the scope of the present invention that the control registers 340 are within the LDD controller 580. Further, it is noted that the three line bus (including the SEN, SCLK and SDIO lines) that connects the controller 102 to the serial interface 318 can be replaced with another bus, e.g., a two line bus (such as an I2C bus), or even a one line bus, but is not limited thereto.

In the conventional LDD 110 of FIG. 1, the oscillator channel only provides an oscillating output when the oscillator 153 is enabled via an OSCEN line generated by the external controller 102. In contrast, in the conventional-hybrid LDD 510C, the OSCEN signal can be provided directly to the LDD controller 580. Alternatively, use of the OSCEN signal can be completely eliminated, and the oscillator channel in the conventional hybrid LDD 510C can be controlled by the write enable RWB and WEN lines. Elimination of the OSCEN line can be better understood from the discussion of FIG. 5D below.

FIG. 5D provides some additional details of the LDD controller 580, introduced in FIG. 5C. Here the LDD controller 580 is shown as only receiving RWB, WEN2, WEN3 and WEN4 lines. However, one or more further lines, if used (e.g., WEN5, REN and/or OSCEN), can be received by the LDD controller 580. Referring to FIG. 5D, the LDD controller 580 includes a decoder 581, a control bus 582, a read and write output controller 583, an oscillator output controller 584, an optical current-to-voltage sample controller 585 and a laser voltage sample controller 586. The read and write output controller 583 can be separated into two controllers, or the read channel can be controlled by a register. In FIG. 5D, the RWB signal is a read/write enable signal (also referred to as read/write bar), which either enables a write or a read mode. While not shown in FIGS. 5A-5C, the RWB signal can also be used in those embodiments. As mentioned above, depending on implementation, a write enable (WEN) or write enable bar (WEB) signal can be used in place of the RWB signal, so long as the WEN, WEB or RWB signal can be used to enable write mode.

The decoder 581 is shown as having nine outputs, labeled NONE, 000, 001 . . . 111, but can have more or less outputs. An exemplary truth table for the decoder 581 is shown below in Table 1, but is not intended to be limiting.

TABLE 1 RWB SWITCH(ES) (OR WEN, ACTIVE IN FIG. 5C OR WEB) WEN4 WEN3 WEN2 OUTPUT CLOSED 0 X X X NONE S1 & S6 1 0 0 0 000 S4 1 0 0 1 001 S3 1 0 1 0 010 S2 1 0 1 1 011 S3 & S4 1 1 0 0 100 S2 & S4 1 1 0 1 101 S2 & S3 & S3 1 1 1 0 110 S2 & S3 1 1 1 1 111 S1 & S2 & S3 & S4

In an embodiment, only one output of the decoder 581 is active at a time, as can be appreciated from Table 1. The various outputs of the output and sample controllers 583, 584, 585, 586, etc. are enabled or disabled based on the output of the decoder 581. For example, if the NONE output of the decoder 581 is active, then switches S1 and S6 shown in FIG. 5C may be closed, and the LDD 510C will be in read mode. For another example, if the 000 output of the decoder 581 is active, then switch S4 in FIG. 5C may be closed, causing the LDD 510C to drive the laser diode 108 with a first write current level. An active 000 output of the decoder 581 can also, e.g., cause the optical current-to-voltage sample control 585 to output a sampling signal and/or cause the laser voltage sample control 586 to output a sampling signal. In other words, a specific active output of the decoder 581 can be used to activate one or more further output of one or more of the controllers 583, 584, 585, 586. For another example, if the 110 output of the decoder is active, this may cause switches S2 and S3 in FIG. 5C to be closed, causing the LDD 510C to drive the laser diode 108 with a current level produced by adding the currents produced by write drivers 132 and 133.

Exemplary details of a portion of the oscillator controller 584 are shown in FIG. 5E. More generally, FIG. 5E illustrates how a serial control register 593 can act with the decoded signals (e.g., output by decoder 581) to make a programmable selection of a device activity. Referring to FIG. 5E, AND-OR logic (including AND gates 596 and an OR gate 597), a register 593, an address decoder 591, further AND gates 592 and 594 and a selectively enabled buffer 595 can used to selectively activate an output of the oscillator controller 584. Similar circuitry can be provided for each output of the oscillator controller 584. Further, similar circuitry can be provided for each output of each of the controllers 583, 584, 585, 586. Alternative circuitry can be used, while being within the scope of the present invention.

The exemplary circuitry of FIG. 5E will now be described in some additional detail. The various address lines shown in FIG. 5E are shown as being part of the serial bus 319, e.g., with a serial address portion (e.g., 7 bits wide) provided to the address decoder 591 and serial data portion (e.g., 9 bits wide) provided to (or read from) the register 593. Additionally, a serial write strobe (WS) signal is provided to AND gate 592, and a serial read strobe (RS) is provided to AND gate 594. The serial WS and RS signals can be controlled, e.g., by the RWB signal. If a serial address is the same as an address stored in the address decoder 591, then the output of address decoder goes high, which is provided to the two AND gates 592 and 594. Depending on whether the WS signal or RS signal is high, the register 593 (e.g., a 9-bit register) is either written to, or read from. The output of the register 593 is connected to a bus 598 (e.g., a 9-bit bus), with each bit of the register 593 provided to an input of one of the AND gates 596. In this manner, the contents of the register 593 defines which of the outputs of the decoder 581 will result in the output of an AND gate 596 going high, and thus cause the output of the OR gate 597 to go high. In other words, the circuit of FIG. 5E provides a completely programmable control block.

FIG. 6A illustrates a hybrid LDD 610 according to another embodiment of the present invention. Like the hybrid LDD 510B, the hybrid LDD 610 includes a decoder 570 that receives the various read, write and oscillate enable lines (REN, WEN1-WEN5 and OSCEN) from the controller 102. Additionally, the hybrid LDD 610B includes a serial interface 318 which enables the controller to update the registers within the LDD 610 by sending serial data over the SDIO line. However, a difference between the hybrid LDD 610 and the hybrid LDD 510B is that the remaining components of the hybrid LDD 610 more resemble the WSG LDD 310, rather than the conventional LDD 110. Accordingly, the hybrid LDD 610 may be referred to as a WSG hybrid LDD 610, because it accepts conventional enable inputs (also referred to as timing inputs), yet internally functions similar to the WSG LDD 310. The significant similarity between the WSG hybrid LDD 610 and the WSG LDD 310 (described with reference to FIG. 3) is that they both have only one write channel (with one write DAC 336), rather than requiring one write DAC per write channel (e.g., as FIGS. 5A and 5B). Preferably, the decoder 570 of the WSG hybrid LDD 610 translates the various WEN signals such that only one write DAC register 338 is enabled at a time. However, if the decoding simply emulates a conventional LDD, the hybrid LDD will suffer the same type of timing glitch problem as the conventional LDD. However, it is possible to decode the WEN lines in such a way that glitch errors are decreased or even eliminated.

The timing diagram for the hybrid WSG LDD 610 will resemble the timing diagram of FIG. 4, which as described above is the timing diagram for the WSG LDD 310. Referring to FIG. 6A, the decoder 570 of the hybrid WSG LDD 610 receive the various enable timing signals REN, WEN2-WEN5 and OSEN from the controller 102. If the decoder emulates a conventional LDD, then based on the REN signal, the decoder 570 controls the switch S1 of the read channel using the decode bus 572. If the decoder emulates a conventional LDD, then based on the WEN2-WEN5 signals, the decoder 570 controls the timing and amplitude of the output of the write channel by selectively providing digital values from the write registers 338 to the write DAC 332, using the decode bus 572. If the decoder emulates a conventional LDD, then based on the OSCEN signal, the decoder 570 controls the oscillator 359 and the selector 363 of the oscillator channel, using the decode bus 572. However, the decoder need not emulated a conventional LDD. For example, the decoder 570 may be altered to only accept the ENA line, and several WEN lines, eliminating the REN and OSCEN line, and possibly one or more WEN lines. Also, as will be described below, the decoder 570 can be configured to convert Gray coded inputs into outputs which are used to control the various output channels. If Gray codes are used on the WEN lines, the controller 102 may need to be modified to match the decoding done in the decoder 570.

The WSG hybrid LDD 610 will allow for many of the benefits of the WSG LDD 310, yet will allow users/customers to continue to use of their conventional timing signals. Additionally, the WSG hybrid LDD 610 will enable users/customers to maintain much of the write strategy control within the controller 102. By providing a flexible decoder, i.e., a decoder that can be modified via the SER bus 319, the WSG type of hybrid can offer a migration path as the user programs the controller 102 differently, or modifies the controller hardware to take advantage of the improved decoder possibilities.

FIG. 6B is a high level block diagram of an alternative WSG hybrid LDD 610B, according to an embodiment of the present invention. The WSG hybrid LDD 610B is similar to the WSG hybrid LDD 610A, except that a LDD controller 580 (as described above with reference to FIGS. 5C-5E) is used in place of the decoder/state machine 570. As mentioned above, depending on implementation, a write enable (WEN) or write enable bar (WEB) signal can be used in place of the RWB signal, so long as the WEN, WEB or RWB signal can be used to enable write mode.

The further hybrid LDD 710 shown in FIG. 7 includes a selection switch 702 that connects the output of one of DACs 322, 532, 533, 534 and 535 to the control terminal (i.e., gate or base) of a transistors Q1. An amount of current flowing through the current path (i.e., the source-drain path or emitter-collector path) of the transistor Q1 is controlled by the voltage provided to the control terminal (i.e., gate or base) of the transistors Q1. The switch 702 is controlled by the decoder 570 using the decoder bus 572. Although the details are not shown, the circuits from the DACs (322 and 532-535) and the amplifiers (121 to 125) may be configured so that the control voltages supplied to the gate of Q1 are such to produce drain currents in Q1 that are proportional to the register values (321 and 522-525). In this embodiment the different digital values stored in the different amplitude registers 321 and 522-525 are used to provide required voltage levels to the gate (or base) of the transistor Q1, to thereby produce the desired different levels for I_(OUT). In this embodiment, the registers 321 and 522-525, DACs 322 and 532-535, amplifiers 121-125, switch 702 and transistor Q1 can be considered to be part of a read/write channel. The output of the oscillator channel, which operates the same as in the embodiment of FIG. 6A, is added to the current produced by transistor Q1 (i.e., the current produced by the read/write channel), to thereby drive the laser diode 108. It is also possible in this configuration that the read channel have a separate driver as in FIGS. 5 and 6. In another embodiment, a LDD controller 580 (as described above with reference to FIGS. 5C-5E) can be used in place of the decoder/state machine 570 shown in FIG. 7.

FIG. 8 illustrates various exemplary I_(OUT) signals that can be generated for an arbitrary mark-space signal 802 that is used for writing to a type R media (record once media). Signal 804 includes only two different levels, a Per (Power Erase) level and a Pfw (Power First Write) for writing. Signal 806 includes three different levels, including a Pfw level and a Pb (Power Bias) level for writing the a Per level. Signals 808 and 810 include four levels, including Pfw and Pb levels for writing, a Per level, and a Pcl (Power Cool) level for cooling the media. Signal 812 includes five different levels, including Pmfp (Power Middle first Pulse), Pfw and Pb levels for writing, a Per level and a Pcl level. The right most portion of signal 812 also shows the oscillator output added to the Per level.

FIG. 9 illustrates various exemplary I_(OUT) signals that can be generated for an arbitrary mark-space signal 902 that is used for writing to a type RW media (re-writeable media). Signals 904 and 906 includes three different levels, including Pfw and Pb levels for writing the a Per level. Signals 908, 910 and 912 include four levels, including Pfw, Pb and Pmw (Power Middle Write) levels for writing, a Per level, and a Pcl level. Signal 914 includes six levels, including Pfw, Pb, Pmw and Plw (Power Last Write) levels for writing, a Per level, and a Pcl level. Signal 916 includes seven levels, including Pfw, Pmfw, Pb, Pmw and Plw levels for writing, a Per level, and a Pcl level. Signal 918 includes eight levels, including Pfw, Pmfw, Pb, Pmw, and Plw levels for writing, a Per level, a further erase level Peer, and a Pcl level.

Regardless of the specific write strategy being used, an LDD will typically also need to produce a Power Read (Pread) level, which is used for reading, and an off level. The Pread level can be, e.g., between the off level and the Per level, but need not be. In some cases the read level will be composed of a read current and the oscillator-off level.

In the hybrid LDDs discussed above with reference to FIGS. 5-7, the various enable lines (e.g., REN, WEN2-WEN5 and OSCEN) are used to control the timing of the I_(OUT) signal. For example, assume that WEN2 high, with WLN3-5 low (i.e., WLN2-WEN5 is 1000), were used to produce the Per write level; and that WEN3 high, with WEN2, WEN4 and WEN5 low (i.e., WEN2-WEN5 is 0100), were used to produce the Pfw write level. Now also assume that a write strategy may results in a transition from the Per level to the Pfw level, as occurs in exemplary I_(OUT) signals 804, 806 and 808 in FIG. 8. When changing WEN2-WEN5 from 1000 to 0100, two bits (i.e., the WEN2 and WEN3 bits) change. If those two bits don't change simultaneously, then the hybrid LDDs will experience timing glitch problems. For example, if WEN2 transitions from 1 to 0 before WEN3 transitions from 0 to 1, then the hybrid LDD will briefly receive a 0000 on lines WEN2-WEN5, and briefly produce an incorrect I_(OUT) signal based thereon. For another example, if WEN2 transitions from 1 to 0 after WEN3 transitions from 0 to 1, then the hybrid LDD will briefly receive a 1100 on lines WEN2-WEN5, and briefly produce an incorrect I_(OUT) signal based thereon.

More generally, it is noted that timing glitch problems may occur if more than one of the enable timing inputs are required to change state at the same time. This is because if they do not change states at the exactly same time, there will be some unpredictable state that occurs before both inputs change to the desired state.

To avoid such problems, specific embodiments of the present invention take advantage of the principles of Gray codes, which are codes where only one bit changes from one state to the next. Accordingly, before describing such embodiments it is first useful to briefly provide some exemplary Gray code transitions diagrams, and to discuss some properties associated with gray coding. First, since only one bit can be changed at a time, there are only N possible changes for an N bit word. If Gray codes are not used, there are 2^N−1 changes possible. Thus, many change possibilities are given up when following Gray codes. Second, any code word can be changed to any other code word in only N steps or less. This is what the levels refer to in the following diagrams. Another restriction of Gray codes is that a loop through a diagram also occurs in an even number of steps. This is significant in using Gray codes for write strategies because some strategies loop in an odd number of steps. In this case, an extra ‘do-nothing’ step should be inserted into the write strategy. Although the use of Gray codes eliminates the occurrences of ‘glitches’ at transitions, it does not eliminate timing differences between the various WEN timing lines. Thus timing errors may still occur, but they no longer produce unwanted drops or surges (glitch) in power at the time of transition. A technique for making a Gray code that avoids “U-Turns”, is to make alternate paths through the state machine do the same thing. However, this reduces the number of possible output levels that can be selected, so it comes at a price.

FIG. 10A illustrates an exemplary two bit Gray code transition diagram, which includes three levels (level 0, level 1 and level 2). Only 1 bit is changed when following the solid lines shown in the diagram. It can be appreciated from FIG. 10A that there can be a transition from any state to any other state in 2 steps or less. FIG. 10B illustrates an exemplary three bit Gray code transition diagram, which includes four levels (level 0, level 1, level 2 and level 3). Again, only 1 bit is changed when following the solid lines shown in the diagram. It can be appreciated from FIG. 10B that there can be a transition from any state to any other state in 3 steps or less. FIG. 10C illustrates an exemplary four bit Gray code transition diagram, which includes five levels (level 0, level 1, level 2, level 3 and level 4). Again, only 1 bit is changed when following the solid lines shown in the diagram. It can be appreciated from FIG. 10C that there can be a transition from any state to any other state in 4 steps or less.

Referring now to FIG. 11A, an exemplary I_(OUT) signal is shown as including four different levels, including an off level, a Pread level, a Per level and a Pfw level. From the off level there can be a transition to the Pread level. From the Pread level there can be a transition to the Per level or the off level. From the Per level there can be a transition to the Pfw level or the Pread level. From the Pfw level there can only be a transition to the Per level.

If using conventional encoding, then two WEN lines (e.g., WEN2 and WEN3) are required, and, Pfw=11, Per=01, and Read is independent. In this simple 2 level write power glitches can be avoided unless Pfw=01, and Per=10.

Using certain embodiments of the present invention, such timing glitch can be avoided, and one fewer enable lines can be used. For the example discussed with reference to FIGS. 11A and 11B it can be assumed that the ENA line equals 1 for a non-off condition, and 0 for an off condition. It is also assumed that Pread is different than Per, in case the oscillator would be on during Pread, but off during Per. Were this the case, since only four total I_(OUT) levels (i.e., off, Pread, Per and Pfw) are needed, then only two enable lines (e.g., WEN2 and WEN3) are necessary, in addition to the chip enable (ENA) line. Disregarding the ENA line (because it is assumed always be 1 when the I_(OUT) is not off), the WEN2 and WEN3 inputs can be 00 for the off level, 01 for the Pread level, 11 for the Per level and 10 for the Pfw level. As can be appreciated from FIG. 11B, such a mapping of Gray codes to possible levels results in no more than one bit changing at a time, thereby preventing the glitch problems mentioned above, and one less control line is used (e.g., REN is not necessary).

A slightly more complex example is now discussed with reference to FIGS. 12A and 12B. Referring to FIG. 12A, an exemplary I_(OUT) signal is shown as including seven different levels, including an off level, a Pread level, a Per level, and Pmfp level, a Pfw level, a Pcl level and a Pb level. For the off level, there can be a transition to the Pread level. From the Pread level, there can be a transition to the Per level or to the off level. From the Per level, there can be a transition to the Pmfp level or the Pread level. From the Pcl level, there can be a transition to the Per level. From the Pfw level, there can be a transition to the Pcl level or the Pb level. From the Pmfp level, there can be a transition to the Pfw level. From the Pb level, there can only be a transition to the Pfw level.

For the example discussed with reference to FIGS. 12A and 12B it can be assumed that the ENA line equals 1 for a non-off condition, and 0 for an off condition. It is also assumed that Pread is different than Per, in case the oscillator could be on during Pread, but off during Per. Were this the case, since seven total levels (i.e., off, Pread, Per, Pcl, Pmfp, Pfw and Pb) are needed, then only three enable lines (e.g., WEN2, WEN3 and WEN4) are necessary, in addition to the chip enable (ENA) line. Disregarding the ENA line (because it is assumed to always be 1 when the I_(OUT) is not off), the WEN2, WEN3 and WEN4 inputs can be 000 for the off level, 001 for the Pread level, 011 for the Per level, 010 for the Pcl level, 010 for the Pfw level, 100 for the Pb level and 111 for the Pmfp level. As can be appreciated from FIG. 12B, such a mapping of Gray codes to possible levels results in no more than one bit changing at a time, thereby preventing the glitch problems mentioned above.

If the same write strategy were to be implemented with a conventional LDD, five WEN lines would be required in addition to REN and OSCEN. Thus, it can be seen that gray coding not only eliminates the timing glitch problem but significantly increases the number of write states that can be achieved for a limited number of control lines.

An even more complex example is now discussed with reference to FIGS. 13A-13C. Referring to FIG. 13A, an exemplary I_(OUT) signal is shown as including nine different levels, including an off level, a Pread level, a Per level, a Pmfp level, a Pfw level, a Pcl level, a Pb level, a Plw level and a Pmw level. From the off level, there can be a transition to the Pread level. From the Pread level, there can be a transition to the Per level or to the off level. From the Per level, there can be a transition to the Pmfp level or the Pread level. From the Pcl level, there can be a transition to the Per level. From the Pfw level, there can be a transition to the Pcl level or the Pb level. From the Pmfp level, there can be a transition to the Pfw level. From the Pb level, there can be a transition to the Plw level or the Pmw level. From the Plw level, there can be a transition to the Pcl level. From the Pmw level, there can only be a transition to the Pb level.

Referring to FIG. 13B, it can be assumed that the ENA line equals 1 for a non-off condition, and 0 for an off condition. The Gray code transition diagram of FIG. 13B shows how four enable lines (WEN2, WEN3, WEN4 and WEN5), in addition to the ENA line, can be used to ensure that only one bit changes at a time, regardless of the transition. The example of FIG. 13A goes beyond the capability of using the three enable lines WEN2, WEN3 and WEN4. And thus, FIG. 13B showed how the fourth write enable line WEN5 can be used.

Here the capability of 3 WEN control lines is exceeded, since there are only 8 states available with 3 WEN lines, but there are 9 current output states. However, if an extra serial bit or REN line, or ENA, or RWB was used to go from off to Pread, the three WEN lines for write would be sufficient. Examining the three timing enable line case, the three enable lines WEN2, WEN3 and WEN4 can be used if there is the condition that Pread is always high when ENA is active, or a serial REN line or bit enables read, or a RWB line or bit, is used to move the state from off to Pread. This is illustrated in the Gray code transition diagram of FIG. 13C. In other words, in FIG. 13C the same write strategy as for FIG. 13A is attempted with one less write timing control bit (as compared to in FIG. 13B). Notice that if Pmfw did not exist, the 001 state would have to be a duplicate Per in order to make the loop from Per to Per an even number of steps. Here a serial control bit is used to go from off to Pread, and a write enable line is used to go from Pread to Per. Thus, the strategy of FIG. 13A really requires at least four control lines.

Still another example is discussed with reference to FIGS. 14A and 14B. Referring to FIG. 14A, an exemplary I_(OUT) signal is shown as including ten different levels, including an off level, a Pread level, a Per level, a Peer level, a Pmfp level, a Pfw level, a Pcl level, a Pb level, a Pmw level and a Plw level. From the off level, there can be a transition to the Pread level. From the Pread level, there can be a transition to the Per level or to the off level. From the Per level, there can be a transition to the Peer level or the Pread level. From the Peer level, there can only be a transition to the Pmfw level. From the Pmfw level there can only be a transition to the Pfw level. From the Pfw level, there can be a transition to the Pcl level or the Pb level. From the Pcl level, there can be a transition to the Per level. From the Pb level, there can be a transition to the Pmw level or the Plw level. From the Plw level, there can only be a transition to the Pcl level. From the Pmw level, there can only be a transition to the Pb level.

Referring to FIG. 14B, it can be assumed that the ENA line equals 1 for a non-off condition, and 0 for an off condition. The Gray code transition diagram of FIG. 14B shows how four enable lines (WEN2, WEN3, WEN4, and WEN5), in addition to the ENA line, can be used to ensure that only one bit changes at a time, regardless of the transition. In FIG. 14B it can be seen that there are two different bit combinations for Per, and that both are transitioned through to get from Per to Peer. More specifically, when transitioning from Per to Peer using the encoding combinations shown in FIG. 14B, the WEN2, WEN3, WEN4, and WEN5 lines will first be 0011 (for Per), then change to 0111 (still for Per), before changing to 1111 (for Peer). This will prevent more than one line from changing at a time. Again the duplicate Per condition is caused by an odd number of transitions from Per to Per.

FIG. 15A shows an exemplary NRZI signal for writing 2 T through 8 T marks, along with a light waveform (i.e., a write current signal, or I_(OUT) signal) that is used to drive the laser diode 108. Also shown in FIG. 15A are Gray coded write enable signals WEN2, WEN3 and WEN4, and a read/write enable signal RWB (also known as a read/write bar signal). The WEN2, WEN3 and WEN4 are Gray coded, in that only one of them change at a time. In other words, at no point does more than one of WEN2, WEN3 and WEN4 change from 0 to 1 (or vice versa), at the same time. However, during the 5 T mark the WEN3 signal changes a 0 to a 1, and then immediately back from a 1 to a 0. Similarly, during the 7 T mark the WEN3 signal changes from a 1 to a 0, and then immediately back from a 0 to a 1. This consecutive changing of the same WEN signal, which is referred to herein as a “U-turn”, limits the write frequency, since each WEN signal needs sufficient settling time after transitioning from 0 to 1 (or vice versa), before being able to transition back from 1 to 0 (or vice versa). In other words, a U-turn occurs if the same enable signal changes its state twice without another one of the enable signals changing state in-between. Transition diagrams for the 5 T and 7 T marks of FIG. 5A are shown in FIG. 5C in a manner that highlights the occurrences of the U-turns.

FIG. 15B shows a further exemplary NRZI signal for writing 2 T through 8 T marks, along with a light waveform (i.e., a write current signal, or I_(OUT) signal) that is used to drive the laser diode 108. Also shown in FIG. 15B are Gray coded write enable signals WEN2, WEN3 and WEN4, and a read/write enable signal RWB (also known as a read/write bar signal). The WEN2, WEN3 and WEN4 in FIG. 15B are again Gray coded, in that only one of them change at a time. However, in accordance with an embodiment of the present invention, all U-turns are purposefully avoided in WEN signals, as can be appreciated from FIG. 15B. In other words, none of the enable signals changes its state twice without another one of the enable signals changing state in-between. This enables the write speed to be twice as fast as when using Gray coded WEN signals that include U-turns (e.g., as in FIG. 15A). Transition diagrams for the 5 T and 7 T marks of FIG. 15B are shown in FIG. 15D in a manner that highlights the lack of U-turns. A technique for avoiding a U-Turn is to implement a state machine with four states where the same output levels can be obtained in two different ways. However, depending on the Gray code, there may also be a requirement to enter a loop of the state diagram and exit the loop according to the requirements of a write strategy. Finding such paths through a state diagram can be achieved, e.g., using trial and error searching, but is not limited thereto. It is noted that the pulse widths and other values shown in FIGS. 15A and 15B are exemplary, and are not meant to be limiting.

Conventional LDDs, such as LDD 110 shown in FIG. 1, may rely on sum encoding to produce all the possible I_(OUT) levels needed. Hybrid LDDs of the present invention that use the gray coding techniques discussed above to provide an improvement over conventional LDDs because use of the gray coding techniques avoids the timing glitch problems of conventional LDDs. However, some users/customers may not want to alter their controllers to accommodate gray scale encoding. Accordingly, it would be useful to employ serial programmable logic in the decoders 570 of the present invention, to thereby enable the logic to be backwards compatible with sum encoding. More specifically, it would be useful if the decoder 570 can convert the WEN2-WEN5 lines received from the controller 102 into a gray encoded scheme, to prevent the glitch problems that may occur when using conventional timing enable signals REN and WEN2-WEN5, or to be configured per the sum encoding of the conventional LDD. Exemplary logic that can be used within the decoder to do this is discussed with reference to FIGS. 16A, 16B and 17.

FIG. 16A is a diagram of serial configurable read enable logic that can be used in the decoders 570, according to embodiments of the present invention. In order to achieve a control logic that suits a variety of user/customer requirements, the control logic can be made adjustable by bits stored in the read enable register 1602, which can be updated by the controller 102 using the SDIO line and the SER bus 319.

Serial bits 3 through 7 all come up zero (0) as a result of the power on reset (POR) signal input. When bit 3 comes up 0 it forces a zero at the output of the AND gate 1604 and AND gate 1606, thereby causing a read enable line of the decode bus 572 to be zero. If bit 3 is set to 1, the ENA signal is allowed to pass to the input of the AND gate 1606. If either bit 3 is zero, or ENA is zero, read will be disabled.

When bits 4, 5 and 6 come up zero they force ones to the outputs of the NAND gates 1608, 1610 and 1612, thereby allowing the output of the AND gate 1606 to go high (i.e., to 1) when bit 3 is set to 1 and ENA is high. Thus, a zero on bits 4, 5 and 6 means ignore the respective signal. If bits 6, 5, or 4 are set to 1, they enable the input of the NAND gates 1608, 1610, 1612 respectively to pass on to the AND gate 1606.

When bit 7 comes up zero, REN with it's polarity is passed unchanged. If bit 7 is set to 1, the polarity of the REN signal is inverted. It is common for REN to be active low, and in this case if REN were to be included in the logic, bit 7 would be set to 0, enabling the input signals to be active low in this logic implementation. Thus for a conventional implementation, bit 7=0, bit 6=1, bit 5=0, bit 4=0, and bit 3=1.

When using a decoder it is logical to have read enabled if the inputs to the decoder were not 000. Thus setting bit 6 and 5 to zero and bit 4 to 1 can cause the read enable line from 1606 to go high when the decode line 000 of the decode bus 572 is not 000. The extra serial ENR BIT can also be ignored or used depending on if bit 5 of 1602 is set to zero or 1.

FIG. 16B is a diagram of serial configurable write level enable logic, according to an embodiment of the present invention. There are various types of hybrid LDDs discussed above, including 510A, 510B, 610 and 710. The 610 and 710 hybrid LDDs are similar in that some combination of WEN input conditions selects one of the output possibilities of the write channel. In contrast, with the hybrid LDDs 510A and 510B multiple write channels can produce an output simultaneously.

Although all the hybrid LDDs use the WEN type of control input signals, it is presumed that the conventional type of sum encoding could be improved upon. For instance, in the main current transitions at the start and end of a mark it is normal to switch from a sum of the write currents to none or one of the write currents. This offers the maximum probability of glitch generation at the most critical time in the write process. Thus, by gray coding these major transitions, the write process could be improved for any hybrid LDD with an appropriate decoder. It may not be known if the controller 102 being used can accommodate gray scale encoding of the WEN lines. Thus the logic preferably should offer the possibility of gray encoding, while being backward compatible with sum encoding.

In FIG. 16B, POR sets all write select bits to zero on power up, disabling all outputs via the AND gate at bit 3. Each power level output has a simple and-or logic with programmable polarities for the input. Usually it is sufficient to have only the Per use two input conditions. The programming of the serial write select register is just the complement of the desired WEN code word. As shown, Pread is set to respond to code 0001, by programming the select register to 1110. Notice that the Pread is special. It goes to the read enable logic that was previously described before going on to enable the read current. Because only one of the WEN lines changes at a time, it is possible with careful gate design to have one of the write enable lines turn off with a very small time difference from when another write enable line turns on. Similar and-or logic and further registers can be used to implement the other power levels (e.g., Per, Peer . . . . Pcl).

FIG. 17 is a diagram of serial configurable oscillator level enable logic, according to an embodiment of the present invention. The oscillator is normally tied to the read or write condition. Thus the oscillator might be always off, on only during read, on during read and erase, or on all the time. For complete flexibility it can also be enabled only when certain states are active. An oscillator control register can have a bit for each state or output enable. It may be desirable that the oscillator turn off quickly, and turn on slowly.

In FIG. 17, when the power comes up, POR sets both registers to all zeros on the outputs. This disables the OSC ENABLE line of the decoder bus 572 through the one AND gate tied to ENA. If at this time a 1 is set in bit 2 register A, the oscillator will be enabled if ENA is one. But normally some other condition is desired for OSC ENABLE. For instance if bit 1 of register A is set to 1, the OSCEN line must also be one to enable the oscillator. The other read and write state conditions have the same logic as the OSCEN line. Thus they are ignored if the control bit is set to zero, and enabled if the control bit is set to one. In this manner the oscillator can be enabled in any combination of read or write conditions.

As mentioned above and shown in FIGS. 5B, 6A and 7, a state machine can be used in place of the decoder 570, and a state bus can be used in place of the decode bus 572. In the previous Gray coded implementations, a WEN control word maps in a fixed way to a state of the LDD. In each state of the LDD, some selection of read, oscillator, and write current is applied. In alternative embodiments that use a state machine, the LDD can still have the same states, but instead of using a one-to-one mapping combinations of WEN control words to the state of the LDD, the states are sequenced in a controlled manner. For example, in normal operation an LDD can go through a normal repeatable sequence: off, read, erase, Pfw, Pcl or Pb, etc. Because the sequencing of the states is fixed for a given write strategy, it is possible to cause this sequencing to occur with less WEN control lines than is used in a fixed mapping approach. When using a state machine it is only necessary to specify how the states changes, not the states themselves.

When using a state machine (e.g., 570), a few input states can represent many output states. Thus, it is possible in an error condition for the state that is desired by the controller 102 to be different from the state existing in the LDD. This would be caused by some kind of error. Once there is a difference in understanding between the state condition between the controller and the LDD, errors will exist until corrected. Thus, it is desirable in a state machine approach to assume that errors might occur, and have a mechanism that forces the LDD back into agreement with the controller 102. The ENA line does this, but it is not desirable to use the ENA line during normal operation. A serial bit could be used, but this would require processor intervention in a process that should be automatic. Thus, a sync function can be encoded in the timing lines of the state machine to achieve the desired results.

FIG. 18A illustrates an exemplary diagram of a typical state machine. FIG. 18B illustrates an exemplary state diagram for an arbitrary state machine. The numbers within the circles are the state numbers. The numbers next to the lines are the numbers on the input lines. In this example the state of the additional output lines are not shown. When the clock rises the state machine responds according to the diagram.

FIG. 19A, which is identical to FIG. 14A, is an exemplary I_(OUT) signal shown as including ten different levels, including an off level, a Pread level, a Per level, a Peer level, a Pmfp level, a Pfw level, a Pcl level, a Pb level, a Pmw level and a Pfw level. FIG. 19B is a corresponding state diagram for the write strategy producing the I_(OUT) signal of FIG. 19A. Here the write strategy is so deterministic that it can be determined with only one bit of input. This one input bit is only necessary at Per, Pfw and Pb. But it is preferred to add a sync feature and simplify the output encoding. The output encoding can be implemented by using the output enable lines (Pread, Per, etc.) to encode the states. A second input line is used to cause a forced state for synchronization.

FIG. 19C is a state diagram in which the output conditions double to serve as the states. This has the advantage of simplifying the logic within the state machine, but it does so by adding more flip flops. Input WEN2 can be used to navigate the state diagram, while input WEN3 can be used to sync the state machine. WEN4 is the clock for the state machine. When using extra flip-flops in this manner, it is possible through error conditions to get states that are not within the state diagram by having more than 1 output equal to 1 at the same time. These extra error states can be suppressed with additional logic.

FIG. 20 is the state diagram for FIG. 19C and corresponds to the write strategy of FIG. 19A and the state diagram of FIG. 19B. As can be seen from the diagram of FIG. 20, at most a state must branch in one of three directions upon being clocked. Therefore in the traditional manner, this can be accomplished with two inputs and a clock.

However another way to use the WEN inputs that does not need the set-up and hold restrictions of clock and data from the controller uses one of the three WEN lines changing to specify the navigation of the state diagram. In the state diagram of FIG. 20, a CXX is always used to go from Pcl. This acts as a sync to prevent error propagation if at any state a CXX moves to the Per state. A XXC means move along as if long marks are present. A XCX occurs to end a mark, or end the write process from Per, or end read.

When using a state machine, there may be, e.g., three direction indicators that can be achieved with two direction bits (e.g., 00, 01, 10). For example, 01 may indicate to proceed in the direction of a long mark, 00 may indicate to return from a mark to a space and then to off, and 10 may be used as a sync and to go to the Per level to achieve a sync function. In order to be able to execute a write strategy, it is preferred to have a state machine that can be configured so that it can execute the write strategy that is necessary at the time. While a traditional state machine may be used for this, a traditional state machine is not perfectly suited to the task at hand. One drawback of a traditional state machine is that the clock line must make two transitions for every state change. In an optical drive, the clock comes from the controller 102 that is located at a distance from the LDD, and separated by the flex circuit 104. There is a bandwidth limitation in this configuration. In order to get repeatable timing on the clock line, the signal needs to settle before making the next transition. Thus, the maximum speed of the state machine is thus limited to a time period consisting of two settling times on the flex cable 104. This clock limitation can be cut in half by using both edges of the clock. To achieve this, in the controller 102 the real clock can be used to clock a divide by 2 flip flop. The divide by 2 flip flop outputs a change for every rising edge of the real clock. This divided clock is then sent over the flex 104 to the LDD. In the LDD, the real clock is reconstituted by using a bi-directional one-shot. But this clock halving trick may not be sufficient for the higher speeds.

Where the controller 102 includes a write strategy generator, the write strategy generator in the controller 102 is probably not configured to put out two input bits and a clock. It is instead configured to put out several timing lines that can be adjusted in fine increments. Each timing line is generated by a timer, which needs a time to complete it's timing, then get set up for it's next timing, before being required to time out again. Thus, if only one timer is used to cause state changes, the limitations of the timer also become an issue in the speed that can be achieved.

In order to avoid both the clock line speed limit, and the single timer limit, the WEN timers are used in a sequence, in accordance with specific embodiments. For instance, if the sequence is ‘forward’ (00, 01, 11, 10, 00 etc.), the state machine would advance toward a long mark, similar to the data 01 condition outlined previously. If the sequence is reverse (00, 10, 11, 01, 11, etc.), the state machine would advance back to Per and off. With this scheme, two bits are not sufficient to also incorporate a sync function while maintaining gray encoding. It can also be seen that the loops (Pb-Pmw-Pb etc) could also rely on a single timer to repeat it's changes. Thus, more bits or WEN lines may be used. With three WEN lines, a sequence can proceed in three directions and still maintain gray encoding. For instance if the first bit changes it can mean to move to one state, if the second bit changes it can mean to move to another state, and if the third bit changes, it can mean to go to still a third state. From the examples so far, this is sufficient to do all the write strategies, and include the sync function.

To remove the speed restriction of settling time on one line, and single timer limitation in normal operation, a new bit can be changed at each state transition. For example, in the state diagram shown in FIG. 22, if bit 0 changed going into state Pb, a change in bit 1 could move to state Pmw, and a change in bit 2 could move to state Plw. Here, there is not the ability to move to Per as a sync condition without repeating a change in bit 0, which is a violation of the speed conditions. To get fast sync for error correction, a 4th WEN line can be used. But that may not be desirable. The alternative is to have a less robust sync, that moves to Per for state machine paths that normally only have one new state to advance to. Thus, the three way branch from states is avoided, with the drawback that re-sync in case of errors will not occur from those states that need a two way branch for normal operation. The state diagram of FIG. 22 is re-drawn in FIG. 23 illustrating this solution.

The state diagram of FIG. 23 is used to show how three enable lines (e.g., WEN2, WEN3 and WEN4) can be used such that only one line changes at a time, alternating lines of change are used, and the state diagram can be navigated with some sync capability. “hhC” means that WEN2 changes. “fwd” means that the changes rotate in a forward or increasing manner. This would be as if the lines went like 000 to 001, to 011, to 111, to 110, to 100, to 000. “rev” means that the changes rotate in a reverse or decreasing manner. This would be as if the lines went like 000 to 100 to 110, to 111 to 011 to 001 to 000. For the controller 102 to implement this, the respective WEN lines would each toggle a divide-by-two flip flop. The controller's timers should also be programmed to change according to the state machine. For the LDD to implement this change sensing, there can be bi-directional flip flops on each WEN line, a last changed register, fwd/rev logic, and the modifications to the state machine to make it respond according to the state diagram.

It is also possible that a state machine be used together with a decoder, as can be appreciated from FIG. 24, which shows an exemplary standard state machine 2402 with an output decoder 2404. In the standard state machine, each state is typically determined by a D flip flop. The flip flops are each fed a signal through an and-or logic network. The and-or logic network has access to each output and it's complement, and each input and it's complement. Thus each output can be made to change or stay the same depending on the selection done through the and-or logic. The state machine 2402 changes on the rising edge of the clock. As it stands, the standard state machine is not well suited to the task of converting input signal (WEN signals and a clk input) to output enable signals. Further it has the bandwidth problems previously mentioned at the clk input. Nevertheless it is useful to see what might be changed to allow a standard state machine to act as a conventional LDD, or a hybrid LDD.

In FIG. 25, a state machine 2502 has been modified to use the output power selection states as it's states rather than binary encoded states. In front of the state machine 2502 three bi-directional one-shots have been added. If any of the WEN lines changes either way, a clock is produced, that clocks the state machine 2502 from one state to another depending on the state of the WEN lines. Advantages of this configuration is that the and-or logic is simplified, and the extra decoder (2404 of FIG. 24) is eliminated. But it is possible, if extra logic is not included, to enable multiple outputs simultaneously. Also, it uses more feedback lines and has more flip-flops. For the above diagram to implement the sum encoding of a conventional LDD, the outputs are ignored, and the state of each WEN input is directly mapped to one output. Thus if WEN4 was high during any change in WEN, one of the outputs (corresponding to channel 4) would be enabled.

The state machine 2502 of FIG. 25 can also implement a Gray coded hybrid. Recall that in a specific Gray coded hybrid, each output state is associated with a unique WEN state. The state machine would not care how the WEN state occurred. The state machine would decode the WEN input conditions directly to the output state while ignoring the output conditions. The state machine of FIG. 25 can also be configured such that any change in WEN is combined with the WEN states to determine the change in the state machine. This implementation also includes the sync function from any state with only the three inputs. It may also be configured to respond to Gray coded inputs.

The state machine 2502 of FIG. 25 can also be configured such that a change in one line means go forward, and a change in a second line means go reverse, and a change in a third line means go to Per. But, state machine of FIG. 25 can not be configured so a positive rotation of the WEN changes means to go forward, and a negative rotation of the WEN lines means to go reverse. To implement that, the WEN states need to be remembered.

FIG. 26 illustrates a state machine 2602 including WEN state memory added and an embedded decoder. This configuration can use the previous WEN state and the next WEN state to determine if the inputs have changes rotating in the forward direction or reverse direction. This added capability allows the inputs to be encoded to change sequentially thus allowing the timers in the controller time to be set-up during the time that another timer is timing out. It also allows the time interval on any of the WEN lines to be increased, thus allowing more time for the signals of the WEN lines to settle, and thereby reduce timing errors. In this and previous embodiments, the serial interface and serial bus can be used to configure the and-or logic.

The hybrid concepts of the present invention described above can also be applied to LDDs of laser printers. At the present time, it is common to provide a trickle current (also known as threshold current) to the laser of a laser printer when it is not writing, so the laser below the lasing threshold. During writing, the laser is switched to being driven by a high current level. Also, there is a period of time set aside for doing automatic power control during each sweep of the laser past the paper drum.

In laser printers, there has been a trend for a need to go to higher write speeds, and a need for gray scale control. One of the methods of gray scale control is to use pulsed light. Another way is to use different write currents. For the pulsed method, it is desirable to control the current to a threshold level in order to minimize the turn-on delay of the laser. All of this points to the need for more power levels in the laser printer market. The hybrid concepts described herein, including the use of decoders and state machines, allow for many power levels with a minimum of control lines.

The present invention has been described above with the aid of functional building blocks illustrating the performance of specified functions and relationships thereof. The boundaries of these functional building blocks have often been arbitrarily defined herein for the convenience of the description. Alternate boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Any such alternate boundaries are thus within the scope and spirit of the invention.

The forgoing description is of the preferred embodiments of the present invention. These embodiments have been provided for the purposes of illustration and description, but are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to a practitioner skilled in the art. Embodiments were chosen and described in order to best describe the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention. It is intended that the scope of the invention be defined by the following claims and their equivalents. 

1. A hybrid laser diode driver (LDD) for driving a laser diode in response to receiving a plurality of enable signals from an external controller, the hybrid LDD comprising: a read channel to output a read current; a plurality of write channels, each to selectively output a different write current; an oscillator channel to selectively output an oscillator current; a programmable LDD controller that receives the plurality of enable signals from the external controller, and based on the enable signals, controls timing of the currents output by at least the write channels; wherein the programmable LDD controller includes a decoder that receives the plurality of enable signals and in response thereto activates one of a plurality of decoder output lines; and a plurality of output controllers, each of which is programmable to produce an output in response to one or more of the decoder output lines being active.
 2. The hybrid LDD of claim 1, wherein the programmable LDD controller also controls timing of the current output by the oscillator channel, based on the enable signals.
 3. The hybrid LDD of claim 1, wherein the plurality of output controllers includes at least a write output controller and an oscillator controller.
 4. The hybrid LDD of claim 1, wherein each of the write channels receives, from the external controller, a write level signal that is used to control an amplitude of a signal produced by the write channel.
 5. The hybrid LDD of claim 1, wherein the programmable LDD controller includes a programmable register for each write channel, wherein the programmable register for each write channel specifies which one or more active decoder output lines will enable the write channel.
 6. The hybrid LDD of claim 5, wherein the programmable LDD controller includes a programmable register for the oscillator channel, wherein the programmable register for the oscillator channel specifies which one or more active decoder output lines will enable the oscillator channel.
 7. The hybrid LDD of claim 5, wherein: the read channel selectively outputs the read current; the programmable LDD controller includes a programmable register for the read channel; and the programmable register for the read channel specifies which one or more active decoder output lines will enable the read channel.
 8. The hybrid LDD of claim 1, wherein each write channel includes a switch that is controlled by the decoder of the programmable LDD controller, and wherein the timing of the write channels is controlled by controlling the switches, based on the enable signals.
 9. The hybrid LDD of claim 1, wherein the enable signals received by the LDD controller from the external controller, include a plurality of write enable signals that are Gray coded such that only one of the write enable signals changes at a time.
 10. The hybrid LDD of claim 9, wherein none of the write enable signals changes a state twice without another one of the write enable signals changing a state associated with the another one of the write enable signals in-between.
 11. The hybrid LDD of claim 9, wherein the LDD controller, based on the enable signals, controls the timing of the currents output by the write and oscillator channels.
 12. The hybrid LDD of claim 1, wherein the hybrid LDD is configured to be located on a same optical pickup unit (OPU) as the laser diode, and where the OPU is connected by a flex cable to the external controller, where the external controller is on a main board.
 13. A method for driving a laser diode, for use with a laser diode driver (LDD) including a read channel to output a read current, a plurality of write channels, each to selectively output a different write current, and an oscillator channel to selectively output an oscillator current, the method comprising: receiving a plurality of enable signals from an external controller, wherein the enable signals include a plurality of write enable signals that are Gray coded such that only one of the write enable signals changes at a time; and decoding the plurality of enable signals, and in response thereto, controlling timing of the currents output by at least the write channels.
 14. The method of claim 13, wherein the decoding and controlling step further comprises controlling timing of the current output by the oscillator channel.
 15. The method of claim 13, wherein each write channel includes a switch, and wherein the controlling of the timing of the write channels comprises controlling the switches, based on results of decoding the enable signals.
 16. The method of claim 13, wherein none of the write enable signals changes a state twice without another one of the write enable signals changing a state associated with the another one of the write enable signals in-between.
 17. The method of claim 13, wherein the decoding and controlling step includes: controlling, based on the enable signals, timing of the currents output by the write and oscillator channels.
 18. The method of claim 13, wherein the LDD is configured to be located on a same optical pickup unit (OPU) as a laser diode, and where the receiving step includes: receiving the plurality of enable signals, from the external controller, via a flex cable that connects the OPU to the external controller, where the external controller is on a main board.
 19. A method for driving a laser diode, for use with a laser diode driver (LDD) including a read channel to output a read current, a plurality of write channels, each to selectively output a different write current, and an oscillator channel to selectively output an oscillator current, the method comprising: receiving, from a controller, a plurality of enable signals including a plurality of write enable signals that are Gray coded, wherein none of the write enable signals changes a state twice without another one of the write enable signals changing a state associated with the another one of the write enable signals in-between; and decoding the plurality of enable signals, and in response thereto, controlling timing of the currents output by at least the write channels.
 20. The method of claim 19, wherein the decoding and controlling step further comprises controlling timing of the current output by the oscillator channel.
 21. A hybrid laser diode driver (LDD) for driving a laser diode in response to receiving a plurality of enable signals from an external controller, the hybrid LDD comprising: a read channel to selectively output a read current; a write channel to selectively output a write current; a programmable LDD controller that receives the plurality of enable signals from the external controller, and based on the enable signals, controls timing of the currents output by the read and write channels; wherein the programmable LDD controller includes a decoder that receives the plurality of enable signals and in response thereto activates one of a plurality of decoder output lines; and a plurality of output controllers, each of which is programmable to produce an output in response to one or more of the decoder output lines being active.
 22. The hybrid LDD of claim 1, wherein: the read channel selectively outputs the read current; and the programmable LDD controller also controls timing of the current output by the read channel, based on the enable signals.
 23. The hybrid LDD of claim 22, wherein the enable signals received from the external controller also include at least one of a read enable signal and a read/write mode signal that is/are used by the programmable LDD controller to control timing of the current output by the read channel.
 24. The method of claim 13, wherein the read channel of the LDD selectively outputs the read cun ent, and wherein the decoding and controlling step includes controlling timing of the cun ent output by the read channel.
 25. The method of claim 24, wherein the enable signals received from the external controller also include at least one of a read enable signal and a read/write mode signal that is/are used to control timing of the cun ent output by the read channel.
 26. The method of claim 19, wherein the read channel of the LDD selectively outputs the read current, and wherein the decoding and controlling step includes controlling timing of the current output by the read channel.
 27. The method of claim 26, wherein the enable signals received from the external controller also include at least one of a read enable signal and a read/write mode signal that is/are used to control timing of the cun ent output by the read channel. 